#!/bin/sh

# 
cache_size="0.25GiB 0.50GiB 0.75GiB 1.00GiB"
policy="ic icc lru lef2"
sesslen="full beta"
interseek="noseek lognormal"
arrival_rates="0.6"

(
for s in $cache_size
do
    for a in $arrival_rates
    do
	for p in $policy
	do
	    for l in $sesslen
	    do
		for is in $interseek
		do
		    ./ms2sim -s $s -a $a{a}/m -m $p -l log_${s}_${p}_${l}_${is} -g $l -p $is
		done
	    done
	done
    done
done
exit
) 2>&1 | tee log.txt
